package com.mi.entity;

import java.io.Serializable;

/**
 * 资料索取实体类
 */
public class DataRequestEntity implements Serializable {

    //资料索取ID
    private int dataId;
    //公司或者医院名称
    private String companyOrHospital;
    //联系人姓名
    private String linkName;
    //，联系人电话
    private String linkPhone;
    //联系人地址
    private String lnkAddress;
    //邮编
    private String zipCode;
    //邮箱
    private String dataEmail;
    //产品名称
    private String productName;
    //状态码
    private int status;

    private int pageNum = 1;
    private int pageSize = 5;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public DataRequestEntity() {
    }

    public DataRequestEntity(int dataId, String companyOrHospital, String linkName, String linkPhone, String lnkAddress, String zipCode, String dataEmail, String productName, int status) {
        this.dataId = dataId;
        this.companyOrHospital = companyOrHospital;
        this.linkName = linkName;
        this.linkPhone = linkPhone;
        this.lnkAddress = lnkAddress;
        this.zipCode = zipCode;
        this.dataEmail = dataEmail;
        this.productName = productName;
        this.status = status;
    }

    public int getDataId() {
        return dataId;
    }

    public void setDataId(int dataId) {
        this.dataId = dataId;
    }

    public String getCompanyOrHospital() {
        return companyOrHospital;
    }

    public void setCompanyOrHospital(String companyOrHospital) {
        this.companyOrHospital = companyOrHospital;
    }

    public String getLinkName() {
        return linkName;
    }

    public void setLinkName(String linkName) {
        this.linkName = linkName;
    }

    public String getLinkPhone() {
        return linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    public String getLnkAddress() {
        return lnkAddress;
    }

    public void setLnkAddress(String lnkAddress) {
        this.lnkAddress = lnkAddress;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getDataEmail() {
        return dataEmail;
    }

    public void setDataEmail(String dataEmail) {
        this.dataEmail = dataEmail;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "DataRequestEntity{" +
                "dataId=" + dataId +
                ", companyOrHospital='" + companyOrHospital + '\'' +
                ", linkName='" + linkName + '\'' +
                ", linkPhone='" + linkPhone + '\'' +
                ", lnkAddress='" + lnkAddress + '\'' +
                ", zipCode='" + zipCode + '\'' +
                ", dataEmail='" + dataEmail + '\'' +
                ", productName='" + productName + '\'' +
                ", status=" + status +
                '}';
    }
}
